home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / cstwnd / nradio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-18  |  682 b   |  31 lines

  1. #ifndef _NRADIO_H_
  2. #define _NRADIO_H_
  3.  
  4. #ifndef _STATEBUT_H_
  5. #include <statebut.h>
  6. #endif
  7.  
  8. //Class Name
  9. extern char CRadioClassName[];
  10.  
  11. _CLASSDEF(TCRadio)
  12. class TCRadio : public TStateButton
  13. {
  14.     HBITMAP On,Off,Mask;
  15. public:                             
  16.     TCRadio(PTWindowsObject AParent, int AnId,
  17.               LPSTR ATitle, int X, int Y, int W, int H,
  18.               PTModule AModule = NULL);
  19.     TCRadio(PTWindowsObject AParent, int ResourceId,
  20.               PTModule AModule = NULL);
  21.      ~TCRadio();
  22.  
  23. protected:
  24.     virtual void DrawOff(HDC DrawDC);
  25.     virtual void DrawOn(HDC DrawDC);
  26.  
  27.     virtual LPSTR GetClassName();
  28.     virtual void GetWindowClass(WNDCLASS _FAR& WndClass);
  29. };
  30.  
  31. #endif